import Vue from 'vue'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import '@/styles/index.scss' // global css
// main.js
import '@/permission'
import global from './utils/global.js'
Vue.prototype.$global = global

import App from './App'
import store from './store'
import router from './router'
const vueBus = new Vue()

Vue.prototype.$bus = vueBus;

// import '@/icons' // icon

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
